Optimal. Leaf size=58 \[ -\frac {1}{a c^3 \left (a^2 x^2+1\right )^2 \tan ^{-1}(a x)}-\frac {\text {Si}\left (2 \tan ^{-1}(a x)\right )}{a c^3}-\frac {\text {Si}\left (4 \tan ^{-1}(a x)\right )}{2 a c^3} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.11, antiderivative size = 58, normalized size of antiderivative = 1.00, number of steps used = 6, number of rules used = 4, integrand size = 19, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.210, Rules used = {4902, 4970, 4406, 3299} \[ -\frac {1}{a c^3 \left (a^2 x^2+1\right )^2 \tan ^{-1}(a x)}-\frac {\text {Si}\left (2 \tan ^{-1}(a x)\right )}{a c^3}-\frac {\text {Si}\left (4 \tan ^{-1}(a x)\right )}{2 a c^3} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3299
Rule 4406
Rule 4902
Rule 4970
Rubi steps
\begin {align*} \int \frac {1}{\left (c+a^2 c x^2\right )^3 \tan ^{-1}(a x)^2} \, dx &=-\frac {1}{a c^3 \left (1+a^2 x^2\right )^2 \tan ^{-1}(a x)}-(4 a) \int \frac {x}{\left (c+a^2 c x^2\right )^3 \tan ^{-1}(a x)} \, dx\\ &=-\frac {1}{a c^3 \left (1+a^2 x^2\right )^2 \tan ^{-1}(a x)}-\frac {4 \operatorname {Subst}\left (\int \frac {\cos ^3(x) \sin (x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{a c^3}\\ &=-\frac {1}{a c^3 \left (1+a^2 x^2\right )^2 \tan ^{-1}(a x)}-\frac {4 \operatorname {Subst}\left (\int \left (\frac {\sin (2 x)}{4 x}+\frac {\sin (4 x)}{8 x}\right ) \, dx,x,\tan ^{-1}(a x)\right )}{a c^3}\\ &=-\frac {1}{a c^3 \left (1+a^2 x^2\right )^2 \tan ^{-1}(a x)}-\frac {\operatorname {Subst}\left (\int \frac {\sin (4 x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{2 a c^3}-\frac {\operatorname {Subst}\left (\int \frac {\sin (2 x)}{x} \, dx,x,\tan ^{-1}(a x)\right )}{a c^3}\\ &=-\frac {1}{a c^3 \left (1+a^2 x^2\right )^2 \tan ^{-1}(a x)}-\frac {\text {Si}\left (2 \tan ^{-1}(a x)\right )}{a c^3}-\frac {\text {Si}\left (4 \tan ^{-1}(a x)\right )}{2 a c^3}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.12, size = 45, normalized size = 0.78 \[ -\frac {\frac {1}{\left (a^2 x^2+1\right )^2 \tan ^{-1}(a x)}+\text {Si}\left (2 \tan ^{-1}(a x)\right )+\frac {1}{2} \text {Si}\left (4 \tan ^{-1}(a x)\right )}{a c^3} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [C] time = 0.49, size = 285, normalized size = 4.91 \[ \frac {{\left (-i \, a^{4} x^{4} - 2 i \, a^{2} x^{2} - i\right )} \arctan \left (a x\right ) \operatorname {log\_integral}\left (\frac {a^{4} x^{4} + 4 i \, a^{3} x^{3} - 6 \, a^{2} x^{2} - 4 i \, a x + 1}{a^{4} x^{4} + 2 \, a^{2} x^{2} + 1}\right ) + {\left (i \, a^{4} x^{4} + 2 i \, a^{2} x^{2} + i\right )} \arctan \left (a x\right ) \operatorname {log\_integral}\left (\frac {a^{4} x^{4} - 4 i \, a^{3} x^{3} - 6 \, a^{2} x^{2} + 4 i \, a x + 1}{a^{4} x^{4} + 2 \, a^{2} x^{2} + 1}\right ) + {\left (-2 i \, a^{4} x^{4} - 4 i \, a^{2} x^{2} - 2 i\right )} \arctan \left (a x\right ) \operatorname {log\_integral}\left (-\frac {a^{2} x^{2} + 2 i \, a x - 1}{a^{2} x^{2} + 1}\right ) + {\left (2 i \, a^{4} x^{4} + 4 i \, a^{2} x^{2} + 2 i\right )} \arctan \left (a x\right ) \operatorname {log\_integral}\left (-\frac {a^{2} x^{2} - 2 i \, a x - 1}{a^{2} x^{2} + 1}\right ) - 4}{4 \, {\left (a^{5} c^{3} x^{4} + 2 \, a^{3} c^{3} x^{2} + a c^{3}\right )} \arctan \left (a x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.28, size = 59, normalized size = 1.02 \[ -\frac {8 \Si \left (2 \arctan \left (a x \right )\right ) \arctan \left (a x \right )+4 \Si \left (4 \arctan \left (a x \right )\right ) \arctan \left (a x \right )+4 \cos \left (2 \arctan \left (a x \right )\right )+\cos \left (4 \arctan \left (a x \right )\right )+3}{8 a \,c^{3} \arctan \left (a x \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [F] time = 0.00, size = 0, normalized size = 0.00 \[ -\frac {4 \, {\left (a^{6} c^{3} x^{4} + 2 \, a^{4} c^{3} x^{2} + a^{2} c^{3}\right )} \arctan \left (a x\right ) \int \frac {x}{{\left (a^{6} c^{3} x^{6} + 3 \, a^{4} c^{3} x^{4} + 3 \, a^{2} c^{3} x^{2} + c^{3}\right )} \arctan \left (a x\right )}\,{d x} + 1}{{\left (a^{5} c^{3} x^{4} + 2 \, a^{3} c^{3} x^{2} + a c^{3}\right )} \arctan \left (a x\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [F] time = 0.00, size = -1, normalized size = -0.02 \[ \int \frac {1}{{\mathrm {atan}\left (a\,x\right )}^2\,{\left (c\,a^2\,x^2+c\right )}^3} \,d x \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F] time = 0.00, size = 0, normalized size = 0.00 \[ \frac {\int \frac {1}{a^{6} x^{6} \operatorname {atan}^{2}{\left (a x \right )} + 3 a^{4} x^{4} \operatorname {atan}^{2}{\left (a x \right )} + 3 a^{2} x^{2} \operatorname {atan}^{2}{\left (a x \right )} + \operatorname {atan}^{2}{\left (a x \right )}}\, dx}{c^{3}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________